home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / pvm34b3.zip / pvm34b3 / pvm3 / lib / pvmtmparch < prev    next >
Text File  |  1997-07-22  |  347b  |  23 lines

  1. #!/bin/sh
  2. #
  3. # $Id: pvmtmparch,v 1.1 1997/05/19 15:07:52 pvmsrc Exp $
  4. #
  5. # pvmtmparch.sh
  6. #
  7. # Generate temporary PVM architecture string.
  8. #
  9. # First check for existing env var $PVM_ARCH.
  10. #
  11. # If not set, then just call "pvmgetarch".
  12. #
  13.  
  14. if [ "#$PVM_ARCH#" != "##" ]; then
  15.     echo "$PVM_ARCH"
  16. else
  17.     here="`dirname $0`"
  18.     echo "`$here/pvmgetarch`"
  19. fi
  20.  
  21. exit
  22.  
  23.